﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Template.Master" AutoEventWireup="true" CodeBehind="DangKy.aspx.cs" Inherits="OnlineDigitalCameraWebsite.DangKy" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="main-content-form1">
    <div class="panel panel-primary" style="">
        <div class="panel-heading">
            <h3 class="panel-title">Đăng Ký</h3>
        </div>
        <div style="margin-top: 20px; margin-left: 20px;">
            <table style="width: 480px; text-align: center;">
                <tr>
                    <td class="auto-style11">&nbsp;</td>
                    <td class="auto-style19">
                        <asp:Label ID="lb_Loi" runat="server" Style="color: #FF0000; font-size: medium; font-style: italic"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="auto-style20"><span class="auto-style15">UserName
                    </span> 
                    </td>
                    <td class="auto-style21">
                        <asp:TextBox ID="txt_Username" runat="server" CssClass="form-control" Width="300px" required></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="auto-style18"><span class="auto-style15">Mật khẩu
                    </span> 
                    </td>
                    <td class="auto-style19">
                        <asp:TextBox ID="txt_Password" runat="server" CssClass="form-control" Width="300px" TextMode="Password"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txt_Password"
                            ErrorMessage="Nhập Mật Khẩu" Display="Dynamic" Font-Size="Medium" ForeColor="Red"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="auto-style18">
                        <span class="auto-style17">Nhập lại mật khẩu</span><span class="auto-style12"> 
                         
                        </span>
                    </td>
                    <td style="text-align: left" class="auto-style19">

                        <asp:TextBox ID="txt_NhapLaiPass" runat="server" TextMode="Password" CssClass="form-control" Width="300px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txt_NhapLaiPass"
                            ErrorMessage="Nhập Lại Mật Khẩu" Display="Dynamic" Font-Size="Medium" ForeColor="Red"></asp:RequiredFieldValidator>
                    </td>
                </tr>

                <tr>
                    <td class="auto-style16">Họ tên:&nbsp;&nbsp; </td>
                    <td style="text-align: left" class="auto-style19">
                        <asp:TextBox ID="txt_HoTen" runat="server" CssClass="form-control" Width="300px" required></asp:TextBox>

                    </td>
                </tr>
                <tr>
                    <td class="auto-style16">Email:<br />
                        &nbsp;</td>
                    <td style="text-align: left" class="auto-style19">
                        <asp:TextBox ID="txtEmail" runat="server" CssClass="form-control"   Width="300px" required></asp:TextBox>

                    </td>
                </tr>

                <tr>
                    <td class="auto-style16">Điện thoại:&nbsp;&nbsp;</td>
                    <td style="text-align: left" class="auto-style19">
                        <asp:TextBox ID="txt_DienThoai" runat="server" CssClass="form-control" Width="300px" required TextMode="Number" MaxLength="11"></asp:TextBox>

                    </td>
                </tr>

                <tr>
                    <td class="auto-style16">Địa chỉ:&nbsp;&nbsp; </td>
                    <td style="text-align: left" class="auto-style19">
                        <asp:TextBox ID="txt_DiaChi" runat="server" CssClass="form-control" Width="300px" TextMode="MultiLine"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="txt_DiaChi"
                            ErrorMessage="Nhập Địa Chỉ" Display="Dynamic" Font-Size="Medium" ForeColor="Red"></asp:RequiredFieldValidator>

                    </td>
                </tr>


                <tr>
                    <td class="auto-style1">&nbsp;</td>
                    <td style="text-align: left" class="auto-style19">
                        <asp:Button ID="btn_DangKy" runat="server" Text="Đăng Ký" CssClass="btn btn-primary" OnClick="btn_DangKy_Click1" />
                        <br /><br />
                    </td>
                </tr>

            </table>
        </div>
    </div>
        </div>
</asp:Content>
